package com.hailong.zyt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hailong.zyt.beans.Homework;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.ui.Model;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hailong
 * @since 2021-06-01
 */
public interface HomeworkService extends IService<Homework> {

    //根据teaId和couId查询，获取作业列表
    boolean getHomeworkByTeaId(Long teaId, Long couId, Model model);

    //根据stuId和couId查询，获取作业列表
    boolean getHomeworkByStuId(Long stuId, Long couId, Model model);
}
